package com.alex.statistics.pojo.result.timeSeriesAnalysis;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "指数平滑预测结果")
public class ExponentialSmoothingResult {

    @Schema(description = "平滑系数", example = "0.3")
    private double alpha;  // 平滑系数

    @Schema(description = "指数平滑的公式", example = "y = alpha * data + (1 - alpha) * previous_smooth_value")
    private double  predictionFormula;  // 预测公式，便于前端展示给用户
}
